HTML - tags - small tag

revision:


Content

"small" tag : defines smaller text syntax some examples


"small" tag : defines smaller text

top

The <small> tag defines smaller text (like copyright and other side-comments).
This tag is not deprecated, but it is possible to achieve richer (or the same) effect with CSS. The <small> HTML element represents side-comments and small print, like copyright and legal text, independent of its styled presentation. By default, it renders text within it one font-size smaller, such as from small to x-small.

Attributes: the <small> element supports the global attributes and events attributes.


syntax

top

<small> . . . </small>


some examples

top

This is some normal text.

This is some smaller text.

Codes:
                    <p class="spec-1">This is some normal text.</p>
                    <p class="spec-1"><small>This is some smaller text.</small></p>
                

This is the first sentence. This whole sentence is in small letters.

Codes:
                    <p class="spec-1">This is the first sentence.
                        <small>This whole sentence is in small letters.
                    </p>